package HomeWork3;

public class test {
    public static void main(String[] args) {
        Store store=new Store();
        Cooker c1=new Cooker(store);
        Cooker c2=new Cooker(store);

        Diners d1=new Diners(store);
        Diners d2=new Diners(store);

        new Thread(c1,"万师傅").start();
        new Thread(c2,"黎师傅").start();

        new Thread(d1,"小谢").start();
        new Thread(d2,"小方").start();


    }
}
